const express=require('express');
const router=express.Router(); //路由只管分发不管处理,处理交给controller
const user=require('../controller/userContrl1');
router.post('/login.do',user.login);
router.post('/register.do',user.register);
module.exports=router;

//按照功能划分,按照页面划分
